package javaweb_work01.classesContrl.Entity;

/**
 * 班级表的JavaBean类
 */
public class Classes {

    private int cid;
    private String class_name;
    private int grade;
    private String teacher;
    private String watchword;
    private int sum;

    public Classes() {
    }

    public Classes(String class_name, int grade, String teacher, String watchword) {
        this.class_name = class_name;
        this.grade = grade;
        this.teacher = teacher;
        this.watchword = watchword;
    }

    public Classes(int cid, String class_name, int grade, String teacher, String watchword) {
        this.cid = cid;
        this.class_name = class_name;
        this.grade = grade;
        this.teacher = teacher;
        this.watchword = watchword;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getWatchword() {
        return watchword;
    }

    public void setWatchword(String watchword) {
        this.watchword = watchword;
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }
}
